Feature: 04. Now we can test the Sentry Settings
Before
Hook
And
the Settings Menu is visible
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'settings sidePanel grid-element')]/div[contains(@class, 'settings-labelList')]/button[1]" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Personalize Settings Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:15)
Then
the Personalize is active
And
a menu "Display" is visible
Before
Hook
And
the Settings Menu is visible
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'settings sidePanel grid-element')]/div[contains(@class, 'settings-labelList')]/button[2]" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Navigation Settings Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:21)
Then
the Navigation is active
And
a menu "Collision avoidance mode" is visible
Before
Hook
And
the Settings Menu is visible
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'settings sidePanel grid-element')]/div[contains(@class, 'settings-labelList')]/button[3]" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the System Settings Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:27)
Then
the System is active
And
a menu "SENTRY" is visible
Before
Hook
And
the Settings Menu is visible
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'settings sidePanel grid-element')]/div[contains(@class, 'settings-labelList')]/button[4]" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Setup Settings Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:33)
Then
the Setup is active
And
a menu "NMEA SETUP" is visible
Before
Hook
And
the Settings Menu is visible
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'settings sidePanel grid-element')]/div[contains(@class, 'settings-labelList')]/button[6]" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Help Settings Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:39)
Then
the Help is active
And
a class "settingsGroup help" is visible
Before
Hook
And
the Settings Menu is visible
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'settings sidePanel grid-element')]/div[contains(@class, 'settings-labelList')]/button[1]" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Personalize Settings Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:46)
Then
the Personalize is active
And
a menu "Display" is visible
Before
Hook
And
the Settings Menu is visible
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.xpath: //*[text() = "Display"] (tried for 7 second(s) with 100 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at extern.bsb.tests.ui.then.WaitForElement.Then__menu_is_visible(WaitForElement.java:496)
at ✽.a menu "Display" is visible(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/04.Settings.feature:52)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//*[text() = "Display"]"}
(Session info: chrome=132.0.6834.110)
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jenkintPT', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '6.8.0-47-generic', java.version: '11.0.25'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 132.0.6834.110, chrome: {chromedriverVersion: 132.0.6834.83 (03d59cf5ecf1..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44155}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: c2ced170ab85514ba59cd5e42f9a89c7
*** Element info: {Using=xpath, value=//*[text() = "Display"]}
at jdk.internal.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:182)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:179)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at extern.bsb.tests.ui.then.WaitForElement.Then__menu_is_visible(WaitForElement.java:496)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$6(Runtime.java:107)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at io.cucumber.core.runtime.Runtime.lambda$executePickle$7(Runtime.java:107)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:235)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at io.cucumber.core.runtime.Runtime.lambda$runFeatures$3(Runtime.java:89)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:199)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at io.cucumber.core.runtime.Runtime.runFeatures(Runtime.java:90)
at io.cucumber.core.runtime.Runtime.lambda$run$0(Runtime.java:78)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runFeatures$6(CucumberExecutionContext.java:148)
at io.cucumber.core.runtime.CucumberExecutionContext.execute(CucumberExecutionContext.java:163)
at io.cucumber.core.runtime.CucumberExecutionContext.runFeatures(CucumberExecutionContext.java:146)
at io.cucumber.core.runtime.Runtime.run(Runtime.java:78)
at io.cucumber.core.cli.Main.run(Main.java:87)
at io.cucumber.core.cli.Main.main(Main.java:30)
at extern.bsb.tests.main.Main.main(Main.java:21)
And
the Settings Button is clicked
And
the Settings Menu is invisible
And
the Primary Stream Video is visible
And
the Secondary Stream Map is visible